package com.example.demo.entity;

import org.springframework.stereotype.Component;

@Component
public class Newscommentinfo {
	private Integer Id;
	private String comId;
	private String newsId;
	private String userId;
	private String comContent;
	private String comTime;
	public Integer getId() {
		return Id;
	}
	public void setId(Integer id) {
		Id = id;
	}
	public String getComId() {
		return comId;
	}
	public void setComId(String comId) {
		this.comId = comId;
	}
	public String getNewsId() {
		return newsId;
	}
	public void setNewsId(String newsId) {
		this.newsId = newsId;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getComContent() {
		return comContent;
	}
	public void setComContent(String comContent) {
		this.comContent = comContent;
	}
	public String getComTime() {
		return comTime;
	}
	public void setComTime(String comTime) {
		this.comTime = comTime;
	}
	@Override
	public String toString() {
		return "Newscommentinfo [Id=" + Id + ", comId=" + comId + ", newsId=" + newsId + ", userId=" + userId
				+ ", comContent=" + comContent + ", comTime=" + comTime + "]";
	}
	
	
}
